package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.VipAmountTblDao;
import io.wdb.modules.generator.generator.entity.VipAmountTblEntity;
import io.wdb.modules.generator.generator.service.VipAmountTblService;



@Service("vipAmountTblService")
public class VipAmountTblServiceImpl implements VipAmountTblService {
	@Autowired
	private VipAmountTblDao vipAmountTblDao;
	
	@Override
	public VipAmountTblEntity queryObject(Long id){
		return vipAmountTblDao.queryObject(id);
	}
	
	@Override
	public List<VipAmountTblEntity> queryList(Map<String, Object> map){
		return vipAmountTblDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return vipAmountTblDao.queryTotal(map);
	}
	
	@Override
	public void save(VipAmountTblEntity vipAmountTbl){
		vipAmountTblDao.save(vipAmountTbl);
	}
	
	@Override
	public void update(VipAmountTblEntity vipAmountTbl){
		vipAmountTblDao.update(vipAmountTbl);
	}
	
	@Override
	public void delete(Long id){
		vipAmountTblDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		vipAmountTblDao.deleteBatch(ids);
	}
	
}
